using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

namespace MB.MyShare.DAL
{
   public class MovieDetails
   {
      public MovieDetails() { }

      public MovieDetails(int id, string title, string producer, string director,
         string summary, string category, int year, bool approved)
      {
         this.ID = id;
         this.Category = category;
         this.Title = title;
         this.Approved = approved;
         this.Director = director;
         this.Producer = producer;
         this.Summary = summary;
         this.Year = year;
      }

      private int _id = 0;
	   public int ID
	   {
		   get { return _id;}
		   set { _id = value;}
	   }

      private string _category = "";
      public string Category
      {
         get { return _category; }
         set { _category = value; }
      }

      private string  _title = "";
      public string  Title
      {
         get { return _title; }
         set { _title = value; }
      }

      private string _summary = "";
      public string Summary
      {
         get { return _summary; }
         set { _summary = value; }
      }

      private int _year = "";
      public int Year
      {
          get { return _year; }
          set { _year = value; }
      }

      private string _producer = "";
      public string Producer
      {
          get { return _producer; }
          set { _year = value; }
      }

      private string _director = "";
      public string Director
      {
          get { return _director; }
          set { _director = value; }
      }

      private bool _approved = true;
      public bool Approved
      {
         get { return _approved; }
         set { _approved = value; }
      }

   
   }
}